package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Users)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:27:41
 */
@ApiModel(value = "用户表")
public class Users implements Serializable {
    private static final long serialVersionUID = 242252520866842242L;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "userId",notes = "用户id",value = "用户id",required = true)
    private Integer userId;
    /**
     * 用户头像
     */
    @ApiModelProperty(name = "userPhoto",notes = "用户头像",value = "用户头像")
    private String userPhoto;
    /**
     * 用户昵称
     */
    @ApiModelProperty(name = "userXname",notes = "用户昵称",value = "用户昵称")
    private String userXname;
    /**
     * 用户性别
     */
    @ApiModelProperty(name = "userSex",notes = "用户性别",value = "用户性别")
    private String userSex;
    /**
     * 用户名称
     */
    @ApiModelProperty(name = "wechatMid",notes = "用户名称",value = "用户名称")
    private String userName;
    /**
     * 用户手机号码
     */
    @ApiModelProperty(name = "userPhone",notes = "用户手机号码",value = "用户手机号码")
    private String userPhone;
    /**
     * 会员id（外键）
     */
    @ApiModelProperty(name = "memberId",notes = "会员id（外键）",value = "会员id（外键）")
    private Integer memberId;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public String getUserXname() {
        return userXname;
    }

    public void setUserXname(String userXname) {
        this.userXname = userXname;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }


    @Override
    public String toString() {
        return "Users{" +
                "userId=" + userId +
                ", userPhoto='" + userPhoto + '\'' +
                ", userXname='" + userXname + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", memberId=" + memberId +
                '}';
    }
}